chore: bump similar from 2.7.0 to 3.2.0 - #6261
Conversation
Bumps [similar](https://github.com/mitsuhiko/similar) from 2.7.0 to 3.2.0. - [Changelog](https://github.com/mitsuhiko/similar/blob/main/CHANGELOG.md) - [Commits](mitsuhiko/similar@2.7.0...3.2.0) --- updated-dependencies: - dependency-name: similar dependency-version: 3.2.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
prql-bot
left a comment
There was a problem hiding this comment.
Mechanical bump, and similar is a [dev-dependencies] entry of prqlc only — nothing shipped changes.
The one thing worth checking here is that similar 3.0 changed the default Algorithm::Myers to use Git-style bounded, non-minimal splits, and the crate's only direct consumer in this repo is the TextDiff::from_lines(…).unified_diff() call in mod compileall in prqlc/prqlc/tests/integration/queries.rs, whose output goes straight into assert_snapshot!. A heuristic change there would have rewritten those snapshots. It didn't: cargo test -p prqlc --test integration compileall on the merge commit passes 31/31 with no snapshot drift.
Two smaller notes, neither blocking:
similar3.x raises its MSRV to 1.85, which exactly meets the workspacerust-version = "1.85.0"— no headroom left. Note thattest-msrvandtest-deps-min-versionsare both gated onneeds.rules.outputs.nightly == 'true', so neither runs on this PR; the floor is confirmed by reading, not by CI here.Cargo.locknow carries twosimilarversions, sinceinstaandsimilar-assertsboth pin 2.7.0. #6260 (similar-asserts1.7.0 → 2.0.0) won't collapse that either, becauseinstaholds 2.x independently. Dev-tree only.
check-ok-to-merge is currently red, but its run (33418584231) has conclusion cancelled — the usual Dependabot-batch concurrency cascade, where a cancelled contributor makes the if: always() gate resolve to FAILURE. The surviving run 33418596908 is still QUEUED and will re-register it. Unverified at approval time: check-ok-to-merge, rules, lint-megalinter, and everything downstream of rules including test-rust.
Bumps similar from 2.7.0 to 3.2.0.
Changelog
Sourced from similar's changelog.
... (truncated)
Commits
e380405chore(release): prepare 3.2.09133b3dref: Update changeloga56a53ffeat(merge): add three-way text merging7130d06docs(examples): demonstrate whitespace-insensitive diffsa635843feat(text): add whitespace-insensitive line diffs6301178perf(myers): preserve sparse matches with record reductionf16b309perf(myers): add bounded heuristic searchaccea7dchore(clippy): resolve lint warnings3a5162bperf(algorithms): fast-path nearly disjoint rangesfc32411feat(fuzzing): add isolated performance campaign runnerDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)